package com.yq.core.service;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.yq.core.base.service.BaseService;
import com.yq.core.entity.SysPowerEntity;
import com.yq.core.util.Page;

import java.util.List;
import java.util.Map;

/**
 * 信  息: [yiqnuan] [2017-06-30] [1.0];
 * 描  述: Service 接口
 */
public interface SysPowerService extends BaseService<SysPowerEntity, String> {

    /** 查找顶部菜单 **/
    public List<Map<String, Object>> findMenuTopList(Map<String, Object> parameter);

    /** 查找左侧菜单 **/
    public List<Map<String, Object>> findMenuLeftList(Map<String, Object> parameter);

    /** 菜单排序 **/
    public void updateOrder(Map<String, Object> parameter);

    /** 菜单列表查询 **/
    public Page<Map<String, Object>> pageMenuList(Map<String, Object> parameter, Page page);

    /** 菜单资源数据 **/
    public List<Map<String, Object>> pageMenuDataList();

    /** 当前用户去权限数据 **/
    public List<Map<String, Object>> pagePowerDataList(Map<String, Object> parameter);

}
